Made updating the User array automatic.