Fix: updatePacket - able to write to DB
fix update
getPacketById - to JSON
Merge pull request #2 from sandermarin/implementation

Some updates from Sander