updated trigger