Changed queries

Changed from creation time to last update time.