Added optional attributes to samples UpdateFirmware