Reverted to previous version of 'upload_date' and fixed a mistake that prevented the code from working properly.