Fix problem where changing slot= would not update pins