updating users controller