Entity bug fixes, changed entity update system