update components before marker