Binary flag upload and update