update credit changes in viewer