update button position