* Update code to use last API spec

Signed-off-by: Jiri Hnidek <jiri.hnidek@tul.cz>