Update content only if something changed

Makes less requests
Added chat template

Skeleton only