Fix double update