update inspector layout