made table editable in update