updated messages to include Content-Type header