Updated the view/update_restricted_resource funcs to take a hash ref with
additional arguments instead of how it was done before.