Fixed data not being saved after initial synchronous update