updated app service example