add update() method for ActorsController;