Implement editing of shared queries in the workspace