updated docs. added deleted callback