Changed return of update to be the field you can write in.
Created a nextByte function that returns the first byte after the passed allocation