update models and user related APIs