update "upload" button show logic