use appcontainer in update plugin (not tested.. and non finished yet)