Update# add check dependencies and email unique check function