Remove debug flag from firmware updating