On success and set uploadSuccess to true every time. This is important for unit testing. [EDUCATOR-5796]