update optimize stuff
up