updated bean validation sample