update binding and substitute variables only if has {