creating and updating of events improved (fixed)