update lastlogin to be updated when update record