     *
     * @param  Request  $request
     * @param  int  $storeId
     * @return Response
     */
    public function update(Request $request, $storeId, $jobOrderId) {

        //  only status and remarks are updatable
        $jobOrder = JobOrder::find($jobOrderId);

        if (!$jobOrder) {
            return response("Job order {$jobOrderId} not found", 404);
        }

        try {