updates for sharing functionaility