log model diff on model edit