Implement password quality checking in update