guard clause around update :(