Changed insert query
Changed update query
Changed select query
Refectored some string to constants