added option to always update on edit