added stage 1 firmware upgrade