Adding update() and destroy() public methods