multi block append and prepend [closes #733]