Refresh resource properties after creating/uploading it.