Auto refresh; layout head in layout