Updated to latest FCS

And removed deprecated function calls.
Please review