Update joi schema usage