Update domain entity function finished