Trying to fix mem-leaks, and allow updating of bin object infos