sql insert command fixed, dictionary updated