base: modify the argument of layoutmgr_update_layout