##12. Added update and hit actions