updating print credential method.