added in a restful service
some updates