update for button object size changed