added update notifications functionality

tested with themes and plugins, not with core yet