set and reset classloader around the update method called by motech event. To remove until motech event starts doing the same