add edit support