Updates to the thoughts model to get thoughts by id