update services and template doc.