Changing delete function with mongoose