added keyup and blur