Updating name and incremented counter value per assignment parameters.