Edit message layout