Updates for button element changes to a div element