update setting and some necessary layout