update encoding section partially