Update key and homework1