credit update functionality added