editing data class