updating bin reference