Fix study removal when drop at itself
Fix table refreshing
Fixes
Add editing for some tables