updating trigger key