update the trigger if it already exists