update script to hide label when input has content