update input title to 40 character limit