Added Validate_Sitecode, fixed update_attributes(status: ...)