method to change quantity done