add an entry for object