updating the add item class