Update for local / production logic