add method for edit entity

+ just to be called by buttons, don't do anything with opengl yet