working on the update triggers