updating database info, store detail activity