Update functions

added title.
usage: title windowname