update encoding promblem