Update protected.cpp