updates and cleaned pins scaffold