if($c->req->method eq 'POST'){ ### update a database }