update trigger on layers