update button layout with image and title