update structure and style

adds isEditable handler with filepath