changed deliver_messages to deliver

corrected API docs