Update var name in pins controller