updating html check length