Updates to chat api