added trigger for all objects