Updating service with REST call simulation using promise API.