update user and directorys