update login constraints