Change insert query sql