update position of buttons