Two new boundary correction techniques are proposed in order to mitigate the order reduction phenomenon associated with the numerical solution of initial boundary value problems for parabolic partial differential equations in arbitrary spatial dimensions with time-dependent Dirichlet boundary conditions. The new techniques are based on the idea of discretizing the PDE problem at the boundary points as similar as possible to that of the interior points of the domain. These new techniques are considered for the time integration with W-methods based on approximate matrix factorization. By suitably modifying the internal stages of the methods on the boundary points, it is illustrated by numerical testing with time-dependent boundary conditions that the new boundary correction techniques are able to keep the same accuracy and order of convergence that the method reaches in the case of homogeneous boundary conditions.