joi update/simplification