update query parsing. TODO delete,insert