player updates and render player