Modify database code and readme file