Updated pin model