changes to update button