Updates for users, borrowed code from User: Automatticc