update for multiple cursor