adding support to modify objects based on sharing level. Note that
objects for sh_lev=1 must already exist. Otherwise, the new function
will not work.