update layout for general setting