cleaning up update