fixed an error when NULL value in Entity would not be updated if the previous value was different then null