updated storage code for ceph