updating bin