made player physics window automatically update