moved update_match from matches controller to user model