updated title funct