after changing database connection and stuff