Modify the seed database comments and added more checks a db util function