Sets resources on task update