add editor command to update database.yml; cleanup