Updates to models and database