A composition comprising a source of metal ions, an accelerating agent having the general structure M A O 3 X A -R A1 - a -R A2, wherein M A is a hydrogen or an alkali metal (preferably Na or K), X A is P or S, a is 1 to 6, R A1 is selected from C1-C8 alkyl group or heteroalkyl group, an aryl group or a heteroaromatic group, R A2 is selected from H or (-S-R A1' XO 3 M), with R A1' being identical or different from R A1, and at least one additive comprising at least one polyaminoamide, said polyaminoamide comprising the structural unit represented by formula I or derivatives of the polyaminoamide of formula I obtainable by complete or partial protonation, N-functionalization or N-quaternization with a non-aromatic reactant, wherein D 6 is, for each repeating unit 1 to s independently, a divalent group selected from a saturated or unsaturated C 1 -C 20 organic radical, D 7 is, for each repeating unit 1 to s independently, a divalent group selected from straight chain or branched C 2 -C 20 alkanediyl, which may optionally be interrupted by heteroatoms or divalent groups selected from O, S and NR 10, R 1 is, for each repeating unit 1 to s independently, selected from H, C 1 -C 20 alkyl, and C 1 -C 20 alkenyl, which may optionally be substituted by hydroxyl, alkoxy or alkoxycarbonyl, or, together with R 2, may form a divalent group D 8, and R 2 is, for each repeating unit 1 to s independently, selected from H, C 1 -C 20 alkyl, and C 1 -C 20 alkenyl, which may optionally be substituted by hydroxyl, alkoxy or alkoxycarbonyl, or, together with R 1, may form a divalent group D 8, and D 8 is selected from straight chain or branched C 1 -C 18 alkanediyl, which may optionally be interrupted by heteroatoms or divalent groups selected from O, S and NR 10, s is an integer from 1 to 250, R 10 is selected from H, C 1 -C 20 alkyl, and C 1 -C 20 alkenyl, which may optionally be substituted by hydroxyl, alkoxy or alkoxycarbonyl, wherein the at least one polyaminoamide does not comprise aromatic moieties. M A is a hydrogen or an alkali metal (preferably Na or K), X A is P or S, a is 1 to 6, R A1 is selected from C1-C8 alkyl group or heteroalkyl group, an aryl group or a heteroaromatic group, R A2 is selected from H or (-S-R A1' XO 3 M), with R A1' being identical or different from R A1, D 6 is, for each repeating unit 1 to s independently, a divalent group selected from a saturated or unsaturated C 1 -C 20 organic radical, D 7 is, for each repeating unit 1 to s independently, a divalent group selected from straight chain or branched C 2 -C 20 alkanediyl, which may optionally be interrupted by heteroatoms or divalent groups selected from O, S and NR 10, R 1 is, for each repeating unit 1 to s independently, selected from H, C 1 -C 20 alkyl, and C 1 -C 20 alkenyl, which may optionally be substituted by hydroxyl, alkoxy or alkoxycarbonyl, or, together with R 2, may form a divalent group D 8, and R 2 is, for each repeating unit 1 to s independently, selected from H, C 1 -C 20 alkyl, and C 1 -C 20 alkenyl, which may optionally be substituted by hydroxyl, alkoxy or alkoxycarbonyl, or, together with R 1, may form a divalent group D 8, and D 8 is selected from straight chain or branched C 1 -C 18 alkanediyl, which may optionally be interrupted by heteroatoms or divalent groups selected from O, S and NR 10, s is an integer from 1 to 250, R 10 is selected from H, C 1 -C 20 alkyl, and C 1 -C 20 alkenyl, which may optionally be substituted by hydroxyl, alkoxy or alkoxycarbonyl,