adding database object