database updated and few minor bugs removed databased needs to be tested
to ensure no bugs remains