fields updating on enter