update the login program