fix variable name for docdata status update