changed database name and model