adding service and updating layout