updated db models