update main, users, users_edit