update for credentials input