added update entity feature