Add class while uploading