update methods, fix codec errors