done controller + resource for update action