removed update marker function