add edit command and binding