updated message editor to include critera content
fixed a bug in repeating queries
fixed condition concatenation on update queries
updated select HTML element builder and updated date fields to use them