Added ids to database object