only update sql if avls package sent