updated block validation