update body width