More work on update queries