#163 Fix edit interface