This does the trick.
\score {
\new PianoStaff <<
\new Staff = "one" \relative c'{
\autoBeamOff
\stemUp c8 c \change Staff=two \stemUp c c
c c c c
\change Staff=one
\stemDown c8 c \change Staff=two \stemUp c c
r2
\stemDown c8[ c \change Staff=one \stemDown c c]
r2
\ch
Hey mike,
have a look at the .ly below
In this case, the 2nd beam and a note from the 2nd beam get added to
the 1st beam. Can you make sure this does not happen?
thanks,
\context PianoStaff <<
\new Staff = "one" \relative c'{
\autoBeamOff
\stemUp c8 c \change Staff=two \stemUp c c