added first version of update system for events