update modelu, testy, API