update file in browser