update deps and clean up/fix resources