Fixed update and destroy methods in controller