Fixed update function and added a new argument for the where clause to override normal functionality.
Added a public method to check if a user is an administrator.