Updated resources CRUD with update function

The navigation part needs to go inside the CRUD functions, else we would need to call it each time as seen in update testcase.