update spec and amrFileCodec