Update context path for res files