edit credit type