Exhausting issue with isdamin field to be updated with database fixed