Added a page reload after upload