finished notification api, fix put and patch request, not yet tested some functionality with notifications