Add the facility of saving a doc with having the db name