update models
get post by id