Updated the token, user and media models