update edit layout