database dependant update