updates to pass object to detail activity