update composition parrern