#15 add edit-layout method