Use connection to update migration table