refresh page on upload