add moveup/down methods, update template