Correcting flux on setting device name
Correcting problem when updating an event.