Add LastID to library