new way to overwrite existing events