update config and patches