Add handleUp logic