Used html button instead of apex command button, but only old values are passing to contrller action method why? Its working fine for commandbutton!!
<apex:actionFunction name="initiateactionmethod" reRender="basicid" action="{!updatedetails}" status="AjaxLoader" oncomplete="window.location.reload( true );">
</apex:actionFunction>
<input type="button" class="button-a blue" onclick="initiateMethod();" value="save"/>
previous command button::
<apex:commandButton value="Save" styleClass="button-a blue" action="{!updatedetails}" />