update racks_dict