Fixed database commands

Changed field headings so that the table would be created without errors