fixing bugs with specialities updating or creating