escaping comma in sql query and added code to update problem information