Added update message for NPCs

Added a class to synchronize NPCs