postgres hooks working now