Updated

Lindsay Lohan signed a two-film deal on Wednesday with the producers of the upcoming John Gotti biopic -- just hours after they said she had been dumped from the project.

"We started the day [thinking] she was not going to be in the film and talks had broken down, and we ended the day with her signing a two-picture deal," Steve Honig, a spokesman for the film's production company Fiore Films, told entertainment website TheWrap.

"You never know what's going to happen in Hollywood," he added.

The 24-year-old had been the top pick for the role of Victoria Gotti in the film about the former head of the Gambino crime family.

She will now play Kimberly Gotti, the wife of John Gotti, Jr., TheWrap reported.

Reports emerged Wednesday that negotiations for the troubled actress to join "Gotti: Three Generations" had broken down due to outlandish demands by her management team.

Honig said it was Lohan herself who resurrected the talks.

"It was over. But Lindsay wanted to do this film so bad that she interceded, and she called up her managers and [...] singlehandedly got everything going again," he told TheWrap.

The film is due to star John Travolta and "Goodfellas" actor Joe Pesci.