Add support to getcurrpos function for remove initialisation update.