-Implemented update button