upload/update cases