updated pins model