got updates working, but had to add an interface for database objects that use longs for their ids