update isExists functions