Keeping order at the top

I need to buy an illiquid script with very low volume. So I would like to keep my order at the top.

If somebody places an order which is higher than my bid. It should automatically modify my order one tick higher than the current highest bid. My order should at the top and the price difference between my order and second highest bid should be always one tick. That means bid price should automatically go & down based on the market bids. Also, There should be a max limit on the bid price.

Any idea? How this can be achieved?