Add login as unique and update