back-end for put comment.