updated templates dir in imageapp