after adding database