trying to change edit method
allow change ID
fix delete med bug