Added remote and auth plugin types
Update queries