Preparing API for file update