update and give credit