Prepareing Update- functions