update marker selected method