edit data class