Changed and fixed details saving