Update lab-7 with REST API