update master layouts