Updated and fixed database

Updated sample files and also made some corrections