update fileupload and view entry functions