update character sprite