made updatebooks insert timestamp