Previous values loading when editing