update models for flask-security