updating trigger