armoryUpdate is now a private function. armoryUpdate now returns a value to satisfy Silex requirements