update initial conds(four) and mod boundary conditions