1. Stoped slon process on both provider and subscriber nodes
2. installed slony1-94-2.2.4-4.rhel5.x86_64 on both nodes
3. ran the script listed below
#!/bin/bash
/usr/pgsql-9.4/bin/slonik <<_EOF_
cluster name = slon_cluster_cmates;
update functions ( id = 1 );
update functions ( id = 3 );
_EOF_
4. Start all slony processes
Upgrade executed successfully and replication is running fine since than