update baselayout