[upd] working api & client