Updating progress to be 1 whenever operation succeeds