Corrected the sequence of target and action.

While working on this found out that sequence is specified incorrect in the documentation. Have tested it only for update, but sure that others are also wrong too.