update to moti lib v2.0