overload anonymous function with store for watching itself to update related templates