add some function for admin to input NPC information