update configure and cleanup