[FIX] Fix logic error which prevents d&d action to update record