changed unauthedRequests entries from insert to update