modified insert sql