fixed update button from duplicating