Update firmware and fix some staff.