update origin mode