fixed edit bug. add raptor editor, and relative functions.