updated models and sql files