Giving write permission to new owner when updating PBC objects and programs