update layout of theme