added the right sup commands when done editing the db