Bugfix: AP update method should use 'equals' instead of '=='.
Otherwise it doesnt update any AP.