marker edit functionality