update entity service