add script to update credit