Update union query syntax