edit profile on live server not working properly but it works locally