update layout template for services and resources