Update at templates handling without the annoying working directory change