updates to queries, insert of boolean