Updated the pin model and created a comment model