Fix add marker function.
Modify init_units for work with update ratio function.
Some.