Added firmware upgrade

1. Added firmware upgrade
2. Fixed the bug of IE