Update script for homework