Added demote trigger and remove trigger