Edit public messages functions