edit attributes structure