adding ability to update measures from gems and set the bundle id on patient and query cache