fix update-reg-period to only lock the price if indicated