updates spacing