Edit databse