[DEV] change resource in shgared pointer