restricting updates

only updating where necessary