add update action to default controller