I made the edit password based on uid and account is value 1, then i check the results show "Updated" and the data in the database i check also successfully updated, but when i check in the column of account is value 0, the data in the database was not successfully updated, but the notification shows "Updated",it's should be "ERROR"
$phql = "UPDATE Users SET password=:password: WHERE uid=:uid: AND account=:account:";
    $status = $app->modelsManager->executeQuery(
        $phql,
        [
            'uid'           => $uid,
            'password'  => md5($_POST['password']),
            'account' => '1'
        ]
    );$response = new Response();
   if (count($status) > 0) {
            $response->setJsonContent(
                array(
                    'status' => 'Updated'
                )
            );
   } else {
        $response->setJsonContent(
                array(
                    'status' => 'ERROR'
                )
            );
    }
return $response;}