Updating correlated subquery example