updated sprite batcher.