Updated pins controller and _form file