update encoding specs