Implemented update method