RUBY-787 Add in errors for invalid update, replacement docs and selector