update graphics and remove some bug