Updating addition logic