ajax on edit title working