Allow resources updating.  Fix flake8 complaints.