* Passing @device into data_update_helper functions instead of declaring it as global. * Style fixes
* Unix Agent and Application fixes * Apply fixes from StyleCI --------- Co-authored-by: StyleCI Bot <[email protected]>