fixed faulty profile updates