edit layout to common