more changes to messaging api