generating event after metadata save