update local and binding