adds edit, and modifies database config