pins updated and cleanup.