BEFORE change endpoint