adding the update action with mongoose