Unions calls for code of conduct change after recent student attacks on school staff