Update queries for slightly modified schema