updating minSize for password