Edit db models