update history for user