Added subscription handling and firmware updating.