update yield code