updating caption