update css and layout on result