Add functions to update boxes
Fix PEP8 issues