change trigger to set path