updated messages functionality