server directory update and template fix