Entity updating and some drawing