add some missing invalidates in locals update